ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / MenuBase<T> Class / ItemFormatter Property

In This Topic
    ItemFormatter Property (MenuBase<T>)
    In This Topic
    Gets or sets a function used to customize the values shown in the drop-down list.
    Syntax
    'Declaration
     
    
    <JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)>
    Public Property ItemFormatter As String
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public string ItemFormatter {get; set;}
    Remarks
    The function takes two arguments, the item index and the default text or html, and returns the new text or html to display.
    See Also